<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main2" />
    <g:set var="entityName" value="${message(code: 'account.label', default: 'account')}" />
    <r:require module="export" />
    <title>导入客户数据</title>
</head>

<body>
    <div class="main-body">
        <div class="page-wrapper">
            <!-- Page-header start -->
            <div class="page-header">
                <div class="page-header-title">
                    <h4>导入客户数据</h4>
                </div>

                <div class="page-header-breadcrumb">
                    <ul class="breadcrumb-title">
                        <li class="breadcrumb-item">
                            <a href="/salesDashboard/index">
                                <i class="icofont icofont-home"></i>
                            </a>
                        </li>
                        <li class="breadcrumb-item"><a href="#!">导入客户数据</a>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- Page-header end -->
            <!-- Page-body start -->
            <div class="page-body">
                <!-- Hover table card start -->
                <div class="card">


                    <div class="card-block">

                      <g:if test="${flash.message}">
                          <div class="message alert alert-info" role="status">${flash.message}
                              <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                                  <span aria-hidden="true">×</span></button>
                          </div>
                      </g:if>

 <g:form method="POST" action="importAccount" enctype="multipart/form-data">
 <div class="form-group row">

   <div class="col-md-3">
     <g:select id="type" name='type' optionKey="name" optionValue="name" from="${com.next.AccountType.findAllByName("客户")}" class="form-control"></g:select>
   </div>
   <div class="col-md-3">
     <g:select id="level" name='industry' optionKey="name" optionValue="name" from="${com.next.Industry.findAllByName("金融业")}" class="form-control"></g:select>
   </div>
   <div class="col-md-3">
     <input type="text" class="form-control" name="splitName" value="、">
   </div>
     </div>
     <div class="form-group row">

       <div class="col-md-3">
         <input type="file" name="myFile" id="myFile" class="myFileUpload"/>
       </div>
       <div class="col-md-3">
         <button class="btn btn-inverse btn-sm btn-squeare" type="submit"><i class="fa fa-upload"></i></button>
       </div>
         </div>

 </g:form>

                    </div>

                </div>

            <!-- Hover table card end -->
        </div>

        <!-- Page-body end -->
    </div>
    </div>

</body>

</html>
